package com.dst.java_demo.exception;

/**
 * @Author: LiJian
 * @Date: 2021/1/15 16:29
 */
public class ServerException extends RuntimeException {
    protected Integer code;

    public ServerException() {
        super();
    }

    public ServerException(Integer code) {
        super();
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }


}
